package com.zwps.biz.api.model.dto.log.api;

import java.time.LocalDateTime;

import com.zwps.common.api.model.dto.PageInfoDTO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Schema(description = "分页查询接口日志")
@Getter
@Setter
@ToString
public class SelectLogApiDTO extends PageInfoDTO {

    @Schema(description = "请求id")
    private String requestId;
    
    /**
     * 日志类型
     */
    @Schema(description = "日志类型")
    private Integer logType;

    /**
     * 操作类型
     */
    @Schema(description = "操作类型")
    private Integer operateType;
    
    @Schema(description = "操作名称")
    private String operateName;
    
    /**
     * 操作用户id
     */
    @Schema(description = "操作用户id")
    private String operateUserId;

    /**
     * 操作用户名称
     */
    @Schema(description = "操作用户名称")
    private String operateRealname;

    /**
     * 操作IP
     */
    @Schema(description = "操作IP")
    private String operateIp;

    /**
     * 操作状态（0：成功，1：失败）
     */
    @Schema(description = "操作状态（0：成功，1：失败）")
    private Integer operateStatus;

    /**
     * 请求路径
     */
    @Schema(description = "请求路径")
    private String requestUrl;

    /**
     * 请求方式
     */
    @Schema(description = "请求方式")
    private String requestMethod;

    @Schema(description = "创建时间开始")
    private LocalDateTime createTimeStart;

    @Schema(description = "创建时间结束")
    private LocalDateTime createTimeEnd;
    
}
